package org.clockworkmages.games.anno1186.gui;

import java.awt.Image;

public class MainTextPanel
		extends AnimatedTextPane {
	private AnimatedImage sunImage;
	private AnimatedImage moonImage;

	public MainTextPanel(Image iSunImage, Image iMoonImage) {
		sunImage = new AnimatedCircularImage(iSunImage, 0.50, 1, 0.4, true);
		sunImage.setTargetState(1, 6000);
		getImages().put("sun", sunImage);

		moonImage = new AnimatedCircularImage(iMoonImage, 0.50, 1, 0.4, true);
		moonImage.setTargetState(1, 6000);
		getImages().put("moon", moonImage);
	}

	public AnimatedImage getSunImage() {
		return sunImage;
	}

	public AnimatedImage getMoonImage() {
		return moonImage;
	}

}
